package com.ruoyi.project.doctors.mapper;

import com.ruoyi.project.doctors.domain.DeptDoc;
import com.ruoyi.project.doctors.domain.Scheduling;
import com.ruoyi.project.doctors.domain.SchedulingWeeks;
import com.ruoyi.project.doctors.domain.UserDoc;
import com.ruoyi.project.doctors.domain.dot.SchedulingSelectDot;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DoctSchedulingMapper {

    List<UserDoc> selectUserByDeptId(Long deptId);


    List<DeptDoc> selectDeptByDeptId();

    List<SchedulingWeeks> selectSchedulingData(SchedulingSelectDot schedulingSelectDot);

    int deleteScheduling(@Param("beginOfWeek") String beginOfWeek, @Param("endOfWeek")String endOfWeek, @Param("userId") Integer userId);

    int insertScheduling(Scheduling scheduling);


}
